projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
914860c
)
(timezone-time-from-absolute): Fix off-by-one
author
Paul Eggert
<eggert@twinsun.com>
Mon, 28 Oct 1996 03:55:59 +0000
(
03:55
+0000)
committer
Paul Eggert
<eggert@twinsun.com>
Mon, 28 Oct 1996 03:55:59 +0000
(
03:55
+0000)
error in current-time-origin.
lisp/timezone.el
patch
|
blob
|
history
diff --git
a/lisp/timezone.el
b/lisp/timezone.el
index 8ab2c215bde80adac6712f460176641285894250..b461948896098f87ca4fa069a052e5b30caaa3d6 100644
(file)
--- a/
lisp/timezone.el
+++ b/
lisp/timezone.el
@@
-277,7
+277,7
@@
Return a list suitable as an argument to current-time-zone,
or nil if the date cannot be thus represented.
DATE is the number of days elapsed since the (imaginary)
Gregorian date Sunday, December 31, 1 BC."
- (let* ((current-time-origin 71916
2
)
+ (let* ((current-time-origin 71916
3
)
;; (timezone-absolute-from-gregorian 1 1 1970)
(days (- date current-time-origin))
(seconds-per-day (float 86400))